// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "CoreMinimal.h"
#include "GameFramework/Actor.h"
#include "CameraDirector.generated.h"

UCLASS()
class UE4_DEMO_API ACameraDirector : public AActor
{
	GENERATED_BODY()
	
public:	
	// Sets default values for this actor's properties
	ACameraDirector();

protected:
	// Called when the game starts or when spawned
	virtual void BeginPlay() override;

public:	
	// Called every frame
	virtual void Tick(float DeltaTime) override;

private:
	void SwitchCamera();
	void RotateCamera(float delta);
private:
	UPROPERTY(EditAnywhere, Category="CameraControl")
	AActor* cameraActorOne;

	UPROPERTY(EditAnywhere, Category = "CameraControl")
	AActor* cameraActorTwo;

	UPROPERTY(EditAnywhere, Category = "CameraControl")
	float rotateSpeed;
};
